import {
    DiffOutlined,
    UserOutlined,
    VideoCameraOutlined,
    AppstoreAddOutlined,
    HomeOutlined
} from '@ant-design/icons-vue';

export function useMenu():IMenu[]{
    return [
        {
            label: '管理首页',
            key: 'statistics',
            href: '/admin/statistics',
            icon: HomeOutlined,
        },
        {
            label: '文章管理',
            key: 'article',
            href: '/admin/article-manage',
            icon: DiffOutlined,
        },
        {
            label: '课程管理',
            key: 'course',
            href: '/admin/course-manage',
            icon: VideoCameraOutlined,
        },
        {
            label: '用户管理',
            key: 'user',
            href: '/admin/user-manage',
            icon: UserOutlined,
        },
        {
            label: '系统管理',
            key: 'website',
            href: '/admin/website-manage',
            icon: AppstoreAddOutlined,
        },
    ]
}